package com.rtech.app.model;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Error class to wrap error reason on server.
 * 
 * @author ruchi
 * 
 */
@XmlRootElement(name = "Error")
public class Error implements Node {

	private String reason;

	public Error() {
	}

	public Error(String reason) {
		super();
		this.reason = reason;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

}
